3.6.24 \(\int x^2 (1+x) (1+2 x+x^2)^5 \, dx\)

Optimal. Leaf size=28 \[ \frac {1}{14} (x+1)^{14}-\frac {2}{13} (x+1)^{13}+\frac {1}{12} (x+1)^{12} \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 28, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {27, 43} \begin {gather*} \frac {1}{14} (x+1)^{14}-\frac {2}{13} (x+1)^{13}+\frac {1}{12} (x+1)^{12} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^2*(1 + x)*(1 + 2*x + x^2)^5,x]

[Out]

(1 + x)^12/12 - (2*(1 + x)^13)/13 + (1 + x)^14/14

Rule 27

Int[(u_.)*((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[u*Cancel[(b/2 + c*x)^(2*p)/c^p], x] /; Fr
eeQ[{a, b, c}, x] && EqQ[b^2 - 4*a*c, 0] && IntegerQ[p]

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rubi steps

\begin {align*} \int x^2 (1+x) \left (1+2 x+x^2\right )^5 \, dx &=\int x^2 (1+x)^{11} \, dx\\ &=\int \left ((1+x)^{11}-2 (1+x)^{12}+(1+x)^{13}\right ) \, dx\\ &=\frac {1}{12} (1+x)^{12}-\frac {2}{13} (1+x)^{13}+\frac {1}{14} (1+x)^{14}\\ \end {align*}

________________________________________________________________________________________

Mathematica [B]  time = 0.00, size = 79, normalized size = 2.82 \begin {gather*} \frac {x^{14}}{14}+\frac {11 x^{13}}{13}+\frac {55 x^{12}}{12}+15 x^{11}+33 x^{10}+\frac {154 x^9}{3}+\frac {231 x^8}{4}+\frac {330 x^7}{7}+\frac {55 x^6}{2}+11 x^5+\frac {11 x^4}{4}+\frac {x^3}{3} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^2*(1 + x)*(1 + 2*x + x^2)^5,x]

[Out]

x^3/3 + (11*x^4)/4 + 11*x^5 + (55*x^6)/2 + (330*x^7)/7 + (231*x^8)/4 + (154*x^9)/3 + 33*x^10 + 15*x^11 + (55*x
^12)/12 + (11*x^13)/13 + x^14/14

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^2 (1+x) \left (1+2 x+x^2\right )^5 \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[x^2*(1 + x)*(1 + 2*x + x^2)^5,x]

[Out]

IntegrateAlgebraic[x^2*(1 + x)*(1 + 2*x + x^2)^5, x]

________________________________________________________________________________________

fricas [B]  time = 0.34, size = 61, normalized size = 2.18 \begin {gather*} \frac {1}{14} x^{14} + \frac {11}{13} x^{13} + \frac {55}{12} x^{12} + 15 x^{11} + 33 x^{10} + \frac {154}{3} x^{9} + \frac {231}{4} x^{8} + \frac {330}{7} x^{7} + \frac {55}{2} x^{6} + 11 x^{5} + \frac {11}{4} x^{4} + \frac {1}{3} x^{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(1+x)*(x^2+2*x+1)^5,x, algorithm="fricas")

[Out]

1/14*x^14 + 11/13*x^13 + 55/12*x^12 + 15*x^11 + 33*x^10 + 154/3*x^9 + 231/4*x^8 + 330/7*x^7 + 55/2*x^6 + 11*x^
5 + 11/4*x^4 + 1/3*x^3

________________________________________________________________________________________

giac [B]  time = 0.15, size = 61, normalized size = 2.18 \begin {gather*} \frac {1}{14} \, x^{14} + \frac {11}{13} \, x^{13} + \frac {55}{12} \, x^{12} + 15 \, x^{11} + 33 \, x^{10} + \frac {154}{3} \, x^{9} + \frac {231}{4} \, x^{8} + \frac {330}{7} \, x^{7} + \frac {55}{2} \, x^{6} + 11 \, x^{5} + \frac {11}{4} \, x^{4} + \frac {1}{3} \, x^{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(1+x)*(x^2+2*x+1)^5,x, algorithm="giac")

[Out]

1/14*x^14 + 11/13*x^13 + 55/12*x^12 + 15*x^11 + 33*x^10 + 154/3*x^9 + 231/4*x^8 + 330/7*x^7 + 55/2*x^6 + 11*x^
5 + 11/4*x^4 + 1/3*x^3

________________________________________________________________________________________

maple [B]  time = 0.05, size = 62, normalized size = 2.21 \begin {gather*} \frac {1}{14} x^{14}+\frac {11}{13} x^{13}+\frac {55}{12} x^{12}+15 x^{11}+33 x^{10}+\frac {154}{3} x^{9}+\frac {231}{4} x^{8}+\frac {330}{7} x^{7}+\frac {55}{2} x^{6}+11 x^{5}+\frac {11}{4} x^{4}+\frac {1}{3} x^{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(x+1)*(x^2+2*x+1)^5,x)

[Out]

1/14*x^14+11/13*x^13+55/12*x^12+15*x^11+33*x^10+154/3*x^9+231/4*x^8+330/7*x^7+55/2*x^6+11*x^5+11/4*x^4+1/3*x^3

________________________________________________________________________________________

maxima [B]  time = 0.61, size = 61, normalized size = 2.18 \begin {gather*} \frac {1}{14} \, x^{14} + \frac {11}{13} \, x^{13} + \frac {55}{12} \, x^{12} + 15 \, x^{11} + 33 \, x^{10} + \frac {154}{3} \, x^{9} + \frac {231}{4} \, x^{8} + \frac {330}{7} \, x^{7} + \frac {55}{2} \, x^{6} + 11 \, x^{5} + \frac {11}{4} \, x^{4} + \frac {1}{3} \, x^{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(1+x)*(x^2+2*x+1)^5,x, algorithm="maxima")

[Out]

1/14*x^14 + 11/13*x^13 + 55/12*x^12 + 15*x^11 + 33*x^10 + 154/3*x^9 + 231/4*x^8 + 330/7*x^7 + 55/2*x^6 + 11*x^
5 + 11/4*x^4 + 1/3*x^3

________________________________________________________________________________________

mupad [B]  time = 0.06, size = 61, normalized size = 2.18 \begin {gather*} \frac {x^{14}}{14}+\frac {11\,x^{13}}{13}+\frac {55\,x^{12}}{12}+15\,x^{11}+33\,x^{10}+\frac {154\,x^9}{3}+\frac {231\,x^8}{4}+\frac {330\,x^7}{7}+\frac {55\,x^6}{2}+11\,x^5+\frac {11\,x^4}{4}+\frac {x^3}{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(x + 1)*(2*x + x^2 + 1)^5,x)

[Out]

x^3/3 + (11*x^4)/4 + 11*x^5 + (55*x^6)/2 + (330*x^7)/7 + (231*x^8)/4 + (154*x^9)/3 + 33*x^10 + 15*x^11 + (55*x
^12)/12 + (11*x^13)/13 + x^14/14

________________________________________________________________________________________

sympy [B]  time = 0.07, size = 71, normalized size = 2.54 \begin {gather*} \frac {x^{14}}{14} + \frac {11 x^{13}}{13} + \frac {55 x^{12}}{12} + 15 x^{11} + 33 x^{10} + \frac {154 x^{9}}{3} + \frac {231 x^{8}}{4} + \frac {330 x^{7}}{7} + \frac {55 x^{6}}{2} + 11 x^{5} + \frac {11 x^{4}}{4} + \frac {x^{3}}{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*(1+x)*(x**2+2*x+1)**5,x)

[Out]

x**14/14 + 11*x**13/13 + 55*x**12/12 + 15*x**11 + 33*x**10 + 154*x**9/3 + 231*x**8/4 + 330*x**7/7 + 55*x**6/2
+ 11*x**5 + 11*x**4/4 + x**3/3

________________________________________________________________________________________